import { Navigate } from 'react-router-dom'
import { Children, lazy } from 'react'
let Index = lazy(() => import("../../views/fan/index/index"))
let List = lazy(() => import("../../views/fan/list/index"))
let Cart = lazy(() => import("../../views/fan/cart/index"))
let Addcart = lazy(() => import("../../views/fan/addcart/index"))
let Fukuan = lazy(() => import("../../views/fan/fukuan/index"))
let Cheng = lazy(() => import("../../views/fan/cheng/index"))
let Fan=[
    {
        path:'/fan/index',
        element:<Index/>,
    },
    {
        path:'/fan/list',
        element:<List/>,
    },
    {
        path:'/fan/cart',
        element:<Cart/>,
    },
    {
        path:'/fan/addcart',
        element:<Addcart/>,
    },
    {
        path:'/fan/fukuan',
        element:<Fukuan/>,
    },
    {
        path:'/fan/cheng',
        element:<Cheng/>,
    }

   
]

export default Fan